

import request from '@/utils/request'

// 任务总览列表
export function reviewListdate(data) {
    return request({
        url: '/task/teacher/stats/myList',
        method: 'get',
        params: data
    })
}

//教师获取内容列表
export function teacherreviewlist(query) {
    return request({
        url: '/task/teacher/assignment/reviewList',
        method: 'get',
        params: query
    })
}

//教师评阅打分
export function teacherReviewAssignment(data) {
    return request({
        url: '/task/teacher/assignment',
        method: 'put',
        data: data
    })
}

//设置异常
export function editabnormal(data) {
    return request({
        url: '/task/questions',
        method: 'post',
        data: data
    })
}

//获取评阅进度
export function statsReviewprogress(query) {
    return request({
        url: '/task/teacher/stats/reviewProgress',
        method: 'get',
        params: query
    })
}
//获取回评列表
export function assignmentReviewlist(query) {
    return request({
        url: '/task/teacher/assignment/rebackList',
        method: 'get',
        params: query
    })
}

//获取考试
export function exammainlist(query) {
    return request({
        url: '/task/teacher/stats/myProject',
        method: 'get',
        params: query
    })
}

export function questionCardTeacher(query) {
    return request({
        url: '/task/teacher/stats/question/card/teacher',
        method: 'get',
        params: query
    })
}
